package com.atguigu.lease.common.minio;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: shenhao
 * @CreatTime: 2024/9/6 17:55
 * @Version: 1.0
 */
/*这个读取配置信息,只能读取web-admin下面的配置类的信息?????*/
@ConfigurationProperties(prefix = "minio")
@Data
public class MinioProperties {
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;
}
